package com.masterstroke.template.service;

import com.masterstroke.template.pojo.domain.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.masterstroke.template.pojo.dto.BuyProduct;
import com.masterstroke.template.pojo.dto.InsertProductDTO;

/**
* @author 35925
* @description 针对表【product】的数据库操作Service
* @createDate 2024-12-15 16:07:47
*/

public interface ProductService extends IService<Product> {

    int insert(InsertProductDTO product);

    void buyProduct(BuyProduct buyProduct);
}
